package com.zhangx.datastructure.tree;

/**
 * 双亲孩子表示法
 * P161
 */
public class PCTree {

    private CTBox[] ctree;

    private int r;//root的index

    private int n;//节点数


    class CTBox{
        int data;
        int parent;
        ChildPtr firstChild;
    }

    class ChildPtr{
        int child;
        ChildPtr next;
    }
}
